<?php
/**
 * ExtFormPanel class file
 *
 * @author TrueSoftware B.V. (The Netherlands)
 * @link http://www.ext4yii.com
 * @copyright Copyright 2007-2010 TrueSoftware B.V. all rights reserved.
 * @license http://www.ext4yii.com/license/
 *          EVALUATION VERSION - NOT FOR COMMERCIAL USE OR DISTRIBUTION.
 * @version 0.7.2
 */

class ExtFormPanel extends ExtFormPanelBase
{
    /**
     * Gets the value of ExtJS hideLabels property
     * @return Boolean 
     */
    public function getHideLabels()
    {
    	return $this->getConfig("hidelabels");
    }

    /**
     * Sets the value of ExtJS hideLabels property
     * @param Boolean $value 
     */
    public function setHideLabels($value)
    {
    	$this->setConfig("hidelabels",$value);
    }

    /**
     * Gets the value of ExtJS itemCls property
     * @return String 
     */
    public function getItemCls()
    {
    	return $this->getConfig("itemcls");
    }

    /**
     * Sets the value of ExtJS itemCls property
     * @param String $value 
     */
    public function setItemCls($value)
    {
    	$this->setConfig("itemcls",$value);
    }

    /**
     * Gets the value of ExtJS labelAlign property
     * @return String 
     */
    public function getLabelAlign()
    {
    	return $this->getConfig("labelalign");
    }

    /**
     * Sets the value of ExtJS labelAlign property
     * @param String $value 
     */
    public function setLabelAlign($value)
    {
    	$this->setConfig("labelalign",$value);
    }

    /**
     * Gets the value of ExtJS labelPad property
     * @return Number 
     */
    public function getLabelPad()
    {
    	return $this->getConfig("labelpad");
    }

    /**
     * Sets the value of ExtJS labelPad property
     * @param Number $value 
     */
    public function setLabelPad($value)
    {
    	$this->setConfig("labelpad",$value);
    }

    /**
     * Gets the value of ExtJS labelSeparator property
     * @return String 
     */
    public function getLabelSeparator()
    {
    	return $this->getConfig("labelseparator");
    }

    /**
     * Sets the value of ExtJS labelSeparator property
     * @param String $value 
     */
    public function setLabelSeparator($value)
    {
    	$this->setConfig("labelseparator",$value);
    }

    /**
     * Gets the value of ExtJS labelWidth property
     * @return Number 
     */
    public function getLabelWidth()
    {
    	return $this->getConfig("labelwidth");
    }

    /**
     * Sets the value of ExtJS labelWidth property
     * @param Number $value 
     */
    public function setLabelWidth($value)
    {
    	$this->setConfig("labelwidth",$value);
    }

    /**
     * Gets the value of ExtJS minButtonWidth property
     * @return Number 
     */
    public function getMinButtonWidth()
    {
    	return $this->getConfig("minbuttonwidth");
    }

    /**
     * Sets the value of ExtJS minButtonWidth property
     * @param Number $value 
     */
    public function setMinButtonWidth($value)
    {
    	$this->setConfig("minbuttonwidth",$value);
    }

    /**
     * Gets the value of ExtJS monitorPoll property
     * @return Number 
     */
    public function getMonitorPoll()
    {
    	return $this->getConfig("monitorpoll");
    }

    /**
     * Sets the value of ExtJS monitorPoll property
     * @param Number $value 
     */
    public function setMonitorPoll($value)
    {
    	$this->setConfig("monitorpoll",$value);
    }

    /**
     * Gets the value of ExtJS monitorValid property
     * @return Boolean 
     */
    public function getMonitorValid()
    {
    	return $this->getConfig("monitorvalid");
    }

    /**
     * Sets the value of ExtJS monitorValid property
     * @param Boolean $value 
     */
    public function setMonitorValid($value)
    {
    	$this->setConfig("monitorvalid",$value);
    }

    /**
     * Gets the value of ExtJS fileUpload property
     * @return Boolean 
     */
    public function getFileUpload()
    {
    	return $this->getConfig("fileupload");
    }

    /**
     * Sets the value of ExtJS fileUpload property
     * @param Boolean $value 
     */
    public function setFileUpload($value)
    {
    	$this->setConfig("fileupload",$value);
    }

    
    public function __construct()
    {
        parent::__construct();
        $this->configmap = array_merge($this->configmap,array(
            'hidelabels' => 'hideLabels',
            'itemcls' => 'itemCls',
            'labelalign' => 'labelAlign',
            'labelpad' => 'labelPad',
            'labelseparator' => 'labelSeparator',
            'labelwidth' => 'labelWidth',
            'minbuttonwidth' => 'minButtonWidth',
            'monitorpoll' => 'monitorPoll',
            'monitorvalid' => 'monitorValid',
            'fileupload' => 'fileUpload'
        ));

        $this->eventtable = array_merge($this->eventtable,array(
            'clientvalidation' => array('sender','valid')
        ));


        $this->proptags = array_merge($this->proptags,array(
            'form' => true
        ));
        $this->setXType('form');
        $this->setXClass('Ext.form.FormPanel');
    }    
}
?>